package com.xinqi.modules.sys.complaint.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinqi.common.mybatis.data.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 聊天投诉表实体层
 *
 * @author: yyzhenn
 * @date: 2023/04/23
 */
@Setter
@Getter
@TableName("sy_complaint")
public class ComplaintEntity extends BaseEntity {
    /**
     * 被投诉人Id，逗号分隔
     */
    @TableField(value = "touser_id")
    private String touserId;
    /**
     * 会话ID 私聊:friend_id  群聊:group_id
     */
    @TableField(value = "target_id")
    private String targetId;
    /**
     * 投诉类型
     */
    @TableField(value = "type")
    private String type;
    /**
     * 投诉内容
     */
    @TableField(value = "content")
    private String content;
    /**
     * 消息IDS  JSON格式
     */
    @TableField(value = "chat_message")
    private String chatMessage;
    /**
     * 图片集 多张用JSON格式
     */
    @TableField(value = "images")
    private String images;
    /**
     * 投诉状态：已处理、未处理
     */
    @TableField(value = "status")
    private Integer status;
    /**
     * 投诉处理规则ID
     */
    @TableField(value = "config_id")
    private Long configId;
    /**
     * 回复
     */
    @TableField(value = "reply")
    private String reply;
    /**
     * 用户提示信息
     */
    @TableField(value = "reminder_information")
    private String reminderInformation;
    /**
     * 回复时间
     */
    @TableField(value = "reply_time")
    private LocalDateTime replyTime;
    /**
     * 处理员工
     */
    @TableField(value = "handling_employees")
    private Long handlingEmployees;
    /**
     * 封禁结束时间
     */
    @TableField(value = "ban_end_time")
    private LocalDateTime banEndTime;
}
